#
# Copyright 2009 Jeffrey Palm
#

require 'itunes'
require 'xml_based_library'

# Instances of this class implements the Library interface and are
# based on the almighty iTunes.  But really, they are just based on
# XML.
class ITunesBasedLibrary < XmlBasedLibrary

  def initialize(itunes=nil)
    super( (itunes ? itunes : ITunes.new_instance).library )
  end

end
